package com.sayimo.maker.mall.orders.vo;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.solr.client.solrj.beans.Field;

/**
 * @Project: schoolmallapi-trunk2.0
 * @ClassName: SearchField
 * @Description: 
 * @author:	chenpy
 * @date:	2016年8月6日
 * @version 1.0.0
 */
public class SearchField {

	/**
	  * @Fields: goodsId
	  * @Description: 商品ID
	*/
	private String id;
	
	/**
	  * @Fields: identifier
	  * @Description: 标识符（COMMON代表普通商品）
	*/
	private String identifier;
	
	/**
	  * @Fields: normsValueId
	  * @Description: 商品规格值ID
	*/
	private Integer normsValueId;
	
	/**
	  * @Fields: goodsName
	  * @Description: 商品名称
	*/
	private String goodsName;
	
	/**
	  * @Fields: date
	  * @Description: 商品创建时间
	*/
	private Date date;
	
	/**
	  * @Fields: originalPrice
	  * @Description: 原价
	*/
	private Double originalPrice;
	
	/**
	  * @Fields: preferentialPrice
	  * @Description: 优惠价
	*/
	private Double preferentialPrice;
	
	/**
	  * @Fields: photoUrl
	  * @Description: 商品图片地址
	*/
	private String photoUrl;
	
	/**
	  * @Fields: buyCount
	  * @Description: 销售量
	*/
	private Integer sellNum;
	
	/**
	  * @Fields: brandId
	  * @Description: 品牌
	*/
	private Integer brandId;
	
	/**
	  * @Fields: classId
	  * @Description: 商品分类ID
	*/
	private Integer classId;
	
	/**
	  * @Fields: type
	  * @Description: COMMONS普通商品， ACTIVITY活动商品， MOLDBABY爆款商品
	*/
	private String type;
	
	private Integer goodsId;
	
	private Integer providerId;
	
	/**
	  * @Fields: story
	  * @Description: 预约商品心语
	*/
	private String story;
	
	/**
	  * @Fields: isStudent
	  * @Description: 是否是学生店铺商品 
	*/
	private Integer isStudent;
	
	/**
	  * @Fields: providerName
	  * @Description: 供应商名称
	*/
	private String providerName;
	
	/**
	  * @Fields: providerPhotoUrl
	  * @Description: 供应商图片
	*/
	private String providerPhotoUrl;
	
	public String getId() {
		return id;
	}

	@Field
	public void setId(String id) {
		this.id = id;
	}

	public String getIdentifier() {
		return identifier;
	}
	
	@Field
	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}

	public Integer getNormsValueId() {
		return normsValueId;
	}

	@Field
	public void setNormsValueId(Integer normsValueId) {
		this.normsValueId = normsValueId;
	}

	public String getGoodsName() {
		return goodsName;
	}

	@Field("name")
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public Date getDate() {
		return date;
	}

	@Field
	public void setDate(Date date) {
		this.date = date;
	}

	public Double getOriginalPrice() {
		return originalPrice;
	}
	
	@Field
	public void setOriginalPrice(Double originalPrice) {
		this.originalPrice = originalPrice;
	}

	public Double getPreferentialPrice() {
		return preferentialPrice;
	}

	@Field
	public void setPreferentialPrice(Double preferentialPrice) {
		this.preferentialPrice = preferentialPrice;
	}

	public String getPhotoUrl() {
		return photoUrl;
	}

	@Field
	public void setPhotoUrl(String photoUrl) {
		this.photoUrl = photoUrl;
	}


	public Integer getSellNum() {
		return sellNum;
	}

	@Field
	public void setSellNum(Integer sellNum) {
		this.sellNum = sellNum;
	}

	public Integer getClassId() {
		return classId;
	}

	@Field
	public void setClassId(Integer classId) {
		this.classId = classId;
	}

	public String getType() {
		return type;
	}

	@Field
	public void setType(String type) {
		this.type = type;
	}

	public Integer getGoodsId() {
		return goodsId;
	}

	@Field
	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public Integer getBrandId() {
		return brandId;
	}

	@Field
	public void setBrandId(Integer brandId) {
		this.brandId = brandId;
	}

	public Integer getProviderId() {
		return providerId;
	}

	@Field
	public void setProviderId(Integer providerId) {
		this.providerId = providerId;
	}

	public String getStory() {
		return story;
	}

	@Field
	public void setStory(String story) {
		this.story = story;
	}

	public Integer getIsStudent() {
		return isStudent;
	}

	@Field
	public void setIsStudent(Integer isStudent) {
		this.isStudent = isStudent;
	}

	public String getProviderName() {
		return providerName;
	}

	@Field
	public void setProviderName(String providerName) {
		this.providerName = providerName;
	}

	public String getProviderPhotoUrl() {
		return providerPhotoUrl;
	}

	@Field
	public void setProviderPhotoUrl(String providerPhotoUrl) {
		this.providerPhotoUrl = providerPhotoUrl;
	}
}
